package cn.neusoft.query;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 购物车项的搜索条件
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CartItemQuery extends BaseQuery{

    private Integer foodId;
    private Integer businessId;
    private Integer userId;
    private String foodName;

    public CartItemQuery(Integer foodId, Integer businessId, Integer userId) {
        this.foodId = foodId;
        this.businessId = businessId;
        this.userId = userId;
    }
}
